package com.yzjs.wx.response;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;


@Root(
        name = "xml",
        strict = false
)
public class WxRefundResponse {
    @Element(
            name = "return_code"
    )
    private String returnCode;
    @Element(
            name = "return_msg",
            required = false
    )
    private String returnMsg;
    @Element(
            name = "result_code",
            required = false
    )
    private String resultCode;
    @Element(
            name = "err_code",
            required = false
    )
    private String errCode;
    @Element(
            name = "err_code_des",
            required = false
    )
    private String errCodeDes;
    @Element(
            name = "appid",
            required = false
    )
    private String appid;
    @Element(
            name = "mch_id",
            required = false
    )
    private String mchId;
    @Element(
            name = "nonce_str",
            required = false
    )
    private String nonceStr;
    @Element(
            name = "sign",
            required = false
    )
    private String sign;
    @Element(
            name = "transaction_id",
            required = false
    )
    private String transactionId;
    @Element(
            name = "out_trade_no",
            required = false
    )
    private String outTradeNo;
    @Element(
            name = "out_refund_no",
            required = false
    )
    private String outRefundNo;
    @Element(
            name = "refund_id",
            required = false
    )
    private String refundId;
    @Element(
            name = "refund_fee",
            required = false
    )
    private Integer refundFee;
    @Element(
            name = "settlement_refund_fee",
            required = false
    )
    private Integer settlementRefundFee;
    @Element(
            name = "total_fee",
            required = false
    )
    private Integer totalFee;
    @Element(
            name = "settlement_total_fee",
            required = false
    )
    private Integer settlementTotalFee;
    @Element(
            name = "fee_type",
            required = false
    )
    private String feeType;
    @Element(
            name = "cash_fee",
            required = false
    )
    private Integer cashFee;
    @Element(
            name = "cash_fee_type",
            required = false
    )
    private String cashFeeType;
    @Element(
            name = "cash_refund_fee",
            required = false
    )
    private Integer cashRefundFee;
    @Element(
            name = "coupon_refund_fee",
            required = false
    )
    private Integer couponRefundFee;
    @Element(
            name = "coupon_refund_count",
            required = false
    )
    private Integer couponRefundCount;

    public WxRefundResponse() {
    }

    public String getReturnCode() {
        return this.returnCode;
    }

    public String getReturnMsg() {
        return this.returnMsg;
    }

    public String getResultCode() {
        return this.resultCode;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrCodeDes() {
        return this.errCodeDes;
    }

    public String getAppid() {
        return this.appid;
    }

    public String getMchId() {
        return this.mchId;
    }

    public String getNonceStr() {
        return this.nonceStr;
    }

    public String getSign() {
        return this.sign;
    }

    public String getTransactionId() {
        return this.transactionId;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public String getOutRefundNo() {
        return this.outRefundNo;
    }

    public String getRefundId() {
        return this.refundId;
    }

    public Integer getRefundFee() {
        return this.refundFee;
    }

    public Integer getSettlementRefundFee() {
        return this.settlementRefundFee;
    }

    public Integer getTotalFee() {
        return this.totalFee;
    }

    public Integer getSettlementTotalFee() {
        return this.settlementTotalFee;
    }

    public String getFeeType() {
        return this.feeType;
    }

    public Integer getCashFee() {
        return this.cashFee;
    }

    public String getCashFeeType() {
        return this.cashFeeType;
    }

    public Integer getCashRefundFee() {
        return this.cashRefundFee;
    }

    public Integer getCouponRefundFee() {
        return this.couponRefundFee;
    }

    public Integer getCouponRefundCount() {
        return this.couponRefundCount;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public void setErrCodeDes(String errCodeDes) {
        this.errCodeDes = errCodeDes;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public void setRefundFee(Integer refundFee) {
        this.refundFee = refundFee;
    }

    public void setSettlementRefundFee(Integer settlementRefundFee) {
        this.settlementRefundFee = settlementRefundFee;
    }

    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    public void setSettlementTotalFee(Integer settlementTotalFee) {
        this.settlementTotalFee = settlementTotalFee;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public void setCashFee(Integer cashFee) {
        this.cashFee = cashFee;
    }

    public void setCashFeeType(String cashFeeType) {
        this.cashFeeType = cashFeeType;
    }

    public void setCashRefundFee(Integer cashRefundFee) {
        this.cashRefundFee = cashRefundFee;
    }

    public void setCouponRefundFee(Integer couponRefundFee) {
        this.couponRefundFee = couponRefundFee;
    }

    public void setCouponRefundCount(Integer couponRefundCount) {
        this.couponRefundCount = couponRefundCount;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof WxRefundResponse)) {
            return false;
        } else {
            WxRefundResponse other = (WxRefundResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label287: {
                    Object this$returnCode = this.getReturnCode();
                    Object other$returnCode = other.getReturnCode();
                    if (this$returnCode == null) {
                        if (other$returnCode == null) {
                            break label287;
                        }
                    } else if (this$returnCode.equals(other$returnCode)) {
                        break label287;
                    }

                    return false;
                }

                Object this$returnMsg = this.getReturnMsg();
                Object other$returnMsg = other.getReturnMsg();
                if (this$returnMsg == null) {
                    if (other$returnMsg != null) {
                        return false;
                    }
                } else if (!this$returnMsg.equals(other$returnMsg)) {
                    return false;
                }

                Object this$resultCode = this.getResultCode();
                Object other$resultCode = other.getResultCode();
                if (this$resultCode == null) {
                    if (other$resultCode != null) {
                        return false;
                    }
                } else if (!this$resultCode.equals(other$resultCode)) {
                    return false;
                }

                label266: {
                    Object this$errCode = this.getErrCode();
                    Object other$errCode = other.getErrCode();
                    if (this$errCode == null) {
                        if (other$errCode == null) {
                            break label266;
                        }
                    } else if (this$errCode.equals(other$errCode)) {
                        break label266;
                    }

                    return false;
                }

                label259: {
                    Object this$errCodeDes = this.getErrCodeDes();
                    Object other$errCodeDes = other.getErrCodeDes();
                    if (this$errCodeDes == null) {
                        if (other$errCodeDes == null) {
                            break label259;
                        }
                    } else if (this$errCodeDes.equals(other$errCodeDes)) {
                        break label259;
                    }

                    return false;
                }

                Object this$appid = this.getAppid();
                Object other$appid = other.getAppid();
                if (this$appid == null) {
                    if (other$appid != null) {
                        return false;
                    }
                } else if (!this$appid.equals(other$appid)) {
                    return false;
                }

                Object this$mchId = this.getMchId();
                Object other$mchId = other.getMchId();
                if (this$mchId == null) {
                    if (other$mchId != null) {
                        return false;
                    }
                } else if (!this$mchId.equals(other$mchId)) {
                    return false;
                }

                label238: {
                    Object this$nonceStr = this.getNonceStr();
                    Object other$nonceStr = other.getNonceStr();
                    if (this$nonceStr == null) {
                        if (other$nonceStr == null) {
                            break label238;
                        }
                    } else if (this$nonceStr.equals(other$nonceStr)) {
                        break label238;
                    }

                    return false;
                }

                label231: {
                    Object this$sign = this.getSign();
                    Object other$sign = other.getSign();
                    if (this$sign == null) {
                        if (other$sign == null) {
                            break label231;
                        }
                    } else if (this$sign.equals(other$sign)) {
                        break label231;
                    }

                    return false;
                }

                Object this$transactionId = this.getTransactionId();
                Object other$transactionId = other.getTransactionId();
                if (this$transactionId == null) {
                    if (other$transactionId != null) {
                        return false;
                    }
                } else if (!this$transactionId.equals(other$transactionId)) {
                    return false;
                }

                label217: {
                    Object this$outTradeNo = this.getOutTradeNo();
                    Object other$outTradeNo = other.getOutTradeNo();
                    if (this$outTradeNo == null) {
                        if (other$outTradeNo == null) {
                            break label217;
                        }
                    } else if (this$outTradeNo.equals(other$outTradeNo)) {
                        break label217;
                    }

                    return false;
                }

                Object this$outRefundNo = this.getOutRefundNo();
                Object other$outRefundNo = other.getOutRefundNo();
                if (this$outRefundNo == null) {
                    if (other$outRefundNo != null) {
                        return false;
                    }
                } else if (!this$outRefundNo.equals(other$outRefundNo)) {
                    return false;
                }

                label203: {
                    Object this$refundId = this.getRefundId();
                    Object other$refundId = other.getRefundId();
                    if (this$refundId == null) {
                        if (other$refundId == null) {
                            break label203;
                        }
                    } else if (this$refundId.equals(other$refundId)) {
                        break label203;
                    }

                    return false;
                }

                Object this$refundFee = this.getRefundFee();
                Object other$refundFee = other.getRefundFee();
                if (this$refundFee == null) {
                    if (other$refundFee != null) {
                        return false;
                    }
                } else if (!this$refundFee.equals(other$refundFee)) {
                    return false;
                }

                Object this$settlementRefundFee = this.getSettlementRefundFee();
                Object other$settlementRefundFee = other.getSettlementRefundFee();
                if (this$settlementRefundFee == null) {
                    if (other$settlementRefundFee != null) {
                        return false;
                    }
                } else if (!this$settlementRefundFee.equals(other$settlementRefundFee)) {
                    return false;
                }

                label182: {
                    Object this$totalFee = this.getTotalFee();
                    Object other$totalFee = other.getTotalFee();
                    if (this$totalFee == null) {
                        if (other$totalFee == null) {
                            break label182;
                        }
                    } else if (this$totalFee.equals(other$totalFee)) {
                        break label182;
                    }

                    return false;
                }

                label175: {
                    Object this$settlementTotalFee = this.getSettlementTotalFee();
                    Object other$settlementTotalFee = other.getSettlementTotalFee();
                    if (this$settlementTotalFee == null) {
                        if (other$settlementTotalFee == null) {
                            break label175;
                        }
                    } else if (this$settlementTotalFee.equals(other$settlementTotalFee)) {
                        break label175;
                    }

                    return false;
                }

                Object this$feeType = this.getFeeType();
                Object other$feeType = other.getFeeType();
                if (this$feeType == null) {
                    if (other$feeType != null) {
                        return false;
                    }
                } else if (!this$feeType.equals(other$feeType)) {
                    return false;
                }

                Object this$cashFee = this.getCashFee();
                Object other$cashFee = other.getCashFee();
                if (this$cashFee == null) {
                    if (other$cashFee != null) {
                        return false;
                    }
                } else if (!this$cashFee.equals(other$cashFee)) {
                    return false;
                }

                label154: {
                    Object this$cashFeeType = this.getCashFeeType();
                    Object other$cashFeeType = other.getCashFeeType();
                    if (this$cashFeeType == null) {
                        if (other$cashFeeType == null) {
                            break label154;
                        }
                    } else if (this$cashFeeType.equals(other$cashFeeType)) {
                        break label154;
                    }

                    return false;
                }

                label147: {
                    Object this$cashRefundFee = this.getCashRefundFee();
                    Object other$cashRefundFee = other.getCashRefundFee();
                    if (this$cashRefundFee == null) {
                        if (other$cashRefundFee == null) {
                            break label147;
                        }
                    } else if (this$cashRefundFee.equals(other$cashRefundFee)) {
                        break label147;
                    }

                    return false;
                }

                Object this$couponRefundFee = this.getCouponRefundFee();
                Object other$couponRefundFee = other.getCouponRefundFee();
                if (this$couponRefundFee == null) {
                    if (other$couponRefundFee != null) {
                        return false;
                    }
                } else if (!this$couponRefundFee.equals(other$couponRefundFee)) {
                    return false;
                }

                Object this$couponRefundCount = this.getCouponRefundCount();
                Object other$couponRefundCount = other.getCouponRefundCount();
                if (this$couponRefundCount == null) {
                    if (other$couponRefundCount != null) {
                        return false;
                    }
                } else if (!this$couponRefundCount.equals(other$couponRefundCount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof WxRefundResponse;
    }



    public String toString() {
        return "WxRefundResponse(returnCode=" + this.getReturnCode() + ", returnMsg=" + this.getReturnMsg() + ", resultCode=" + this.getResultCode() + ", errCode=" + this.getErrCode() + ", errCodeDes=" + this.getErrCodeDes() + ", appid=" + this.getAppid() + ", mchId=" + this.getMchId() + ", nonceStr=" + this.getNonceStr() + ", sign=" + this.getSign() + ", transactionId=" + this.getTransactionId() + ", outTradeNo=" + this.getOutTradeNo() + ", outRefundNo=" + this.getOutRefundNo() + ", refundId=" + this.getRefundId() + ", refundFee=" + this.getRefundFee() + ", settlementRefundFee=" + this.getSettlementRefundFee() + ", totalFee=" + this.getTotalFee() + ", settlementTotalFee=" + this.getSettlementTotalFee() + ", feeType=" + this.getFeeType() + ", cashFee=" + this.getCashFee() + ", cashFeeType=" + this.getCashFeeType() + ", cashRefundFee=" + this.getCashRefundFee() + ", couponRefundFee=" + this.getCouponRefundFee() + ", couponRefundCount=" + this.getCouponRefundCount() + ")";
    }
}
